updating oE free

free

include eumem.e 
namespace eumem 
export procedure free(atom mem_p) 

deallocates a block of (pseudo) memory.

Parameters:
  1. mem_p : The handle to a previously acquired ram_space location.
Comments:

This allows the location to be used by other parts of your application. You should no longer access this location again because it could be acquired by some other process in your application. This routine should only be called if you passed zero as cleanup_p to malloc.

Example 1:
 my_spot = malloc(1,0) 
 ram_space[my_spot] = my_data 
     -- . . . do some processing  . . .  
 free(my_spot) 
Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu